package com.qk.vo.operatelog;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * Date:2025/10/21
 * Author:zxc
 * Description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OperateLogVO {
    private Integer id; //ID
    private Integer operateUserId; //操作用户ID
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime operateTime; //操作时间
    private String className; //类名称
    private String methodName; //方法名称
    private String methodParams; //方法参数
    private String returnValue; //返回值
    private Long costTime; //耗时

    //拓展字段
    @TableField(exist = false)
    private String operateUserName;
}